@charset "utf-8";
@import './common';

.goods{
    width: 100%;
    padding-bottom: 80px;
    .banner{
        position: relative;
        .banner-text{
            position: absolute;
            top: 30%;
            left: 11%;
            width: 40%;
            // height: 500px;
            h2{
                font-size: 78px;
                font-weight: bold;
                color: #333;
                line-height: 86px;
                &::before{
                    content: "";
                    display: inline-block;
                    width: 40px;
                    height: 8px;
                    background-color: #111;
                    position: absolute;
                    top: -45px;
                    left: 0;
                }
            }
            p{
                margin-top: 22px;
                font-size: 24px;
                color: #111;
            }
        }
        img{
            width: 100%;
        }
    }

    .dest{
        ul{
            padding: 15px;
            padding-left: 174px;
            li{
                display: inline-block;
                a{
                    font-size: 14px;
                    i{
                        font-size: 18px;
                        // vertical-align: baseline;
                    }
                }
            }
            li:nth-child(2){
                border: 1px solid #e4e4e4;
                padding: 0 6px;
                line-height: 26px;
            }
        }
    }

    .total{
        width: 100%;
        padding: 22px 0;
        padding-left: 174px;
        box-sizing: border-box;
        background-color: #fafafa;
        span:first-child{
            padding-left: 15px;
            font-size: 18px;
            border-left: 4px solid #005aaa;
        }
        span:nth-child(2){
            font-size: 12px;
            margin-left: 12px;
        }
    }

    nav{
        width: 77.2%;
        margin: 0 auto;
        .top,.middle{
            position: relative;
            border-bottom: 1px solid #fafafa;
            font-size: 12px;
            padding: 15px 0;
            >i{
                margin-right: 130px;
            }
            .text-left{
                display: inline-block;
                margin-right: 78px;
                span:nth-child(2){
                    margin: 0 60px;
                }
            }
            .text-right{
                display: inline-block;
                span:nth-child(2){
                    margin: 0 78px;
                }
            }
            .duoxuan{
                position: absolute;
                right: 0;
                top: 50%;
                transform: translate(0,-50%);
                background-color: #fafafa;
                border: 1px solid #eee;
                color: #111;
                cursor: pointer;
                // width: 60px;
                border-radius: 2px;
                margin-right: 20px;
                padding: 3px 5px;
                i{
                    font-size: 16px;
                    font-weight: bold;
                }
            }
        }

        .middle{
            >i{
                margin-right: 117px;
            }
            .text-left{
                margin-right: 42px;
                span:nth-child(2){
                    margin-left: 40px;
                    margin-right: 60px;
                }
            }
            .text-right{
                display: inline-block;
                span:nth-child(2){
                    margin: 0 42px;
                }
            }
        }

        .bottom{
            font-size: 12px;
            border-bottom: 1px solid #fafafa;
            padding: 15px 0;
            >i{
                margin-right: 106px;
            }
            ul{
                display: inline-flex;
                justify-content: space-between;
                margin-right: 50px;
                width: 77%;
                li{
                    i{
                        vertical-align: middle;
                    }
                }
            }
        }

        .screen{
            border: 1px solid #ddd;
            display: flex;
            justify-content: space-between;
            font-size: 14px;
            padding-right: 22px;
            margin-top: 20px;
            ul{
                display: flex;
                justify-content: space-between;
                flex-basis: 46%;
                li:first-child{
                    background-color: #005aaa;
                    color: #fff;
                }
                li{
                    flex: 1 0 16%;
                    text-align: center;
                    border-right: 1px solid #ddd;
                    line-height: 40px;
                }
                li:last-child{
                    display: flex;
                    align-items: center;
                    flex-basis: 24%;
                    border: none;
                    font-size: 12px;
                    margin-left: 20px;
                    i{
                        margin: 0 6px;
                    }
                    input{
                        border: 1px solid #ddd;
                        padding: 4px;
                        width: 100%;
                        height: 18px;
                        font-size: 12px;
                    }
                }
            }

            .choose{
                display: flex;
                align-items: center;
                input{
                    margin: 0 6px 0 12px;
                    // border-radius: 0;
                }
            }
        }
    }

    .prolistbox{
        width: 77.2%;
        margin: 30px auto;
        display: flex;
        // flex-wrap: wrap;
        justify-content: space-between;
        .product-box{
            flex-basis: 80%;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-content: space-between;
            .product-item{
                padding: 25px 0 45px;
                flex-basis: 21%;
                >a{
                    display: block;
                    margin: 0 auto 24px;
                    img{
                        width: 100%;
                    }
                }
                p{
                    text-align: center;
                }
                p:nth-of-type(1){
                    a{
                        display: block;
                        font-size: 14px;
                        line-height: 18px;
                        margin-bottom: 7px;
                        color: #111;
                    }
                }
                p:nth-of-type(2){
                    font-size: 12px;
                    color: #888;
                    line-height: 1.1em;
                    height: 1.1em;
                    margin-bottom: 22px;
                }
                p:nth-of-type(3){
                    margin-bottom: 18px;
                    font-size: 12px;
                    line-height: 12px;
                    color: #888;
                    i{
                        color: #005aaa;
                        font-size: 14px;
                        padding-left: 15px;
                        font-weight: 400;
                        vertical-align: top;
                        position: relative;
                        top: -1px;
                    }
                }
                p:nth-of-type(4){
                    font-size: 12px;
                    vertical-align: top;
                    i{
                        font-size: 12px;
                    }
                    a{
                        color: #0c5ca8;
                    }
                    a:first-of-type{
                        padding: 0 2px;
                    }
                    
                }
            }
            .product-item:hover{
                border: 1px solid #fafafa;
                box-shadow: 0 8px 10px rgba(0,0,0,.1);
                p:first-of-type{
                    a{
                        color: #0c5ca8;
                    }
                }
            }
        }

        .like-box{
            flex-basis: 16%;
            align-self: baseline;
            padding-bottom: 15px;
            border: 1px solid #ddd;
            text-align: center;
            h1{
                font-size: 14px;
                line-height: 58px;
                border-bottom: 1px solid #ddd;
                font-weight: 700;
            }
            ul{
                li{
                    border-bottom: 1px solid #ddd;
                    padding: 12px 0;
                    margin: 0 9px;
                    a{
                        margin-bottom: 15px;
                        display: block;
                        cursor: pointer;
                        img{
                            width: 78%;
                        }
                        p{
                            font-size: 14px;
                            color: #111;
                            margin-top: 10px;
                        }
                    }
                    >p{
                        font-size: 12px;
                        line-height: 16px;
                    }
                }
                li:last-child{
                    border: none;
                }
                li:hover{
                    a{
                        p{
                            color: #0c5ca8;
                        }
                    }
                }
            }
        }
    }

    .page{
        padding-left: 190px;
        >span{
            font-size: 14px;
            color: #d4d4d4;
            i{
                font-size: 14px;
            }
        }
        a{
            span{
                font-size: 14px;
            }
        }
        a:hover{
            color: #005aaa;
        }
        ul{
            display: inline-block;
            vertical-align: middle;
            margin: 0 15px;
            li{
                float: left;
                border: 1px solid #c8c8c8;
                padding: 4px 13px;
                border-radius: 4px;
                a{
                    font-size: 14px;
                    // color: #000;
                }
            }
            li:first-child{
                background-color: #0c5ca8;
                a{
                    color: #fff;
                }
            }
            li:nth-child(2){
                margin: 0 10px;
            }
        }
    }
}